﻿<%@ Page Language="C#" %>
<%    Maticsoft.DBUtility.DbHelper dbhelper = new Maticsoft.DBUtility.DbHelper();
      string index = Request.Params["index"];
      string condition = Request.Params["condition"];
      string longitude = Request.Params["longitude"];
      string latitude = Request.Params["latitude"];
      string[] indexs = index.Split(',');
      string[] conditions = condition.Split(',');
      string[] longitudes = longitude.Split(',');
      string[] latitudes = latitude.Split(',');
      string tablecode = Request.Params["tablecode"];
      for (int i = 0; i < indexs.Length;i++ )
      {
          dbhelper.ExecuteSql("update " + tablecode + " set longitude=" + longitudes[i] + ",latitude=" + latitudes[i] + " where " + conditions[i]);
      }
        %>[<%=Request.Params["index"] %>]
